package com.litchi.tutor.service;

import cn.hutool.http.server.HttpServerRequest;
import com.litchi.tutor.common.entity.Teacher;
import com.litchi.tutor.common.vo.TeacherResp;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface TeacherService {

    void createTeacher(Teacher teacher, HttpServletRequest httpServletRequest);

    TeacherResp getTeacherByUserId(String userId, HttpServletRequest request);

    List<TeacherResp> getTeacher(Long current, Long limit, String birthplaces, String teachingSubjectIds);

    void updateTeacher(Teacher teacher, HttpServletRequest httpServletRequest);
}
